home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
loa_and_the_island.swf
/
scripts
/
DefineSprite_772
/
frame_34
/
PlaceObject2_573_177
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2008-03-17
|
458b
|
12 lines
onClipEvent(enterFrame){
if(_root.paused == false and this.hitTest(_root.lavafilter))
{
if(this.hitTest(_root.level.sprite._x + _root.level._x,_root.level.sprite._y + _root.level._y - 10,true) and _root.level.sprite._currentframe > 1)
{
move = random(_root.level.sprite.speed * 4 + 1) - _root.level.sprite.speed * 2;
}
_rotation = _rotation + (move - _rotation / 10);
move += (- _rotation) / 2;
}
}